import request from '@/utils/request'

// 查询关联方特批列表
export function listFundAffiliatedParty(query) {
  return request({
    url: '/affiliated/fundAffiliatedParty/list',
    method: 'get',
    params: query
  })
}

// 查询关联方特批详细
export function getFundAffiliatedParty(id) {
  return request({
    url: '/affiliated/fundAffiliatedParty/' + id,
    method: 'get'
  })
}

// 保存关联方特批
export function saveFundAffiliatedParty(data) {
  return request({
    url: '/affiliated/fundAffiliatedParty/save',
    method: 'post',
    data: data
  })
}

// 删除关联方特批
export function delFundAffiliatedParty(id) {
  return request({
    url: '/affiliated/fundAffiliatedParty/' + id,
    method: 'delete'
  })
}
